Editing the template