update config template file