template impl changes must not insist on element.template.id but on
element.templateId. controller must ensure this field consistency during
update()