updates to QueryWidget