updated queries.