Create templates / update directives