updated template engine doc