updates on query engine