clean_updates function

Clean any pending updates