modify mongodbConfiguration