Update QueryCollector.cs