> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/administrator-documentation/templates/updating-a-template.md).

# Updating a Template

This lesson will show you how to update an existing template in AgileCase.

{% stepper %}
{% step %}

### Download template

<figure><img src="/files/BSmliogAT3uTJ69bC2m1" alt=""><figcaption></figcaption></figure>

In order to update a template, you must first download it. You can do this by clicking the template's name on its page on in the settings menu.
{% endstep %}

{% step %}

### Make your changes

Once you have downloaded your template you can make the changes necessary to bring it up to date.

Once you are happy with your changes, save the template.
{% endstep %}

{% step %}

### Select "Edit"

<figure><img src="/files/QsyNPVbm3Qc13KcsuUFN" alt=""><figcaption></figcaption></figure>

Once you have your updated template saved, Return to the template in the settings menu and select "Edit".
{% endstep %}

{% step %}

### Upload your updated template

<figure><img src="/files/RCjGQ2wY5QQ8fhuyFu8J" alt=""><figcaption></figcaption></figure>

On the edit page you can re-upload your template. This is done in exactly the same way as when the template was initially created.

For a refresher on how to upload a template, see this [lesson](/administrator-documentation/templates/uploading-your-document-template.md).
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.agilecase.com/administrator-documentation/templates/updating-a-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
