Improved update check