updated templating doc