delete old config, add new config