Update template engine.