updating the users via api