modifies query interval