Updating user API