update operation working