update the user