update the user profile