updated Queries