changed update user view to use new UserProfile