Update on MongoDB class