Fixing the location last update check