update the mongodb configurations.