update config in template