delete old config
apply new config