The edit option is available on the:
Kebab menu: Select the icon adjacent to the template.
Context menu: Right-click the template.
Template details page: On the top right corner, select the icon.
Use one of the preceding options and select Edit. The Edit <template> dialog is displayed.
Update the template properties and select Save.
Refer to Creating a template and Creating a folder structure for more information about the properties you can modify.