function of saving config has been modified