update user controller to edit user profile