changes to diagram.js, and added database-question in dbquestions.json.