added the update view to the user profile api