> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Updating a template

> Update a template's name, output format, or replace the uploaded .tpl file directly from the Lerian Console interface.

Need to update a template's name, output format, or replace the uploaded file? This section walks you through how to update a template directly from Lerian Console.

<Note>
  Lerian Console doesn't allow you to modify the content of the `.tpl` file. To update the structure or logic of a template, you must edit the file locally and re-upload it.
</Note>

<Note>
  Templates created with the **Template Builder** will open the builder when you click edit, instead of the upload wizard.
</Note>

To edit a template:

<Steps>
  <Step>
    On the **Templates** page, locate the template you want to update.
  </Step>

  <Step>
    Click the three dots (<Icon icon="ellipsis-vertical" />) on the **Actions** column and select **Edit**.
  </Step>

  <Step>
    The **Edit Template** wizard will open, pre-filled with the current data. You can change:

    * **Template Name** — the template name.
    * **Output Format** — the output format (CSV, XML, HTML, TXT, or PDF).
    * **Template File (.tpl)** — upload a new `.tpl` file.
  </Step>

  <Step>
    Click **Update Template** to apply your changes.
  </Step>
</Steps>

<Warning>
  Replacing a `.tpl` file affects all future reports generated with that template. Reports already created will not be impacted.
</Warning>
