updated queries file