added support for different types of operations: search, search w/
verification, update, update w/ verification