adding query to dbs