name and id need to be associated, or template gets deleted