Update the template engine to a new version, add new functionality