Update "external-db.js" to v3.0