cleanup and logging for user updates