Update mongoPersistence.js