Move update check to plugins_loaded