add update operation