Fix update check