update config when launching mongo