Write update functions to work even if module is disabled