Add a switch to enable/disable auto check update