adds action to update user profiles