templating engine update