update mongodb conf