Update dbquery.js