Update template to disable query cache