Update QueryEngine.java