fix core update check