Edit config files for mongodb