allow changing the mode on queries