Update to query tool

Signed-off-by: Jay Rivers <JRivers@printplace.com>