update project to use mongodb