fix a bug in `update` function of query in {{condition operator condition}}