Update mongo.js