update mongodb server configuration