Add a user profile update function