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