updates to mongodb setup