Update mongoPersister.js