preparing mongo db