Moved update check