updates to mongodb mapping