added update operation