Update templates to use render method