Prune unused argument from updateQuery function

See a36f784f

Signed-off-by: Alex Coles <alex@alexbcoles.com>