Updating user api