Update queries.rb