new rest endpoint for updating user profile data