Fix update check.