templating update