add update operation to client