save config after update