updated queries
updated