added server options into the reconfiguration of mongodb