gotta pass the query into db.query
update deps
fix tests