update progress with queries