Added API action to update users.