fix for update check