Update QueryObject.java