Update dbManager.js