update templating