added a function to specify a condition on the DBAgent update operation.