> For the complete documentation index, see [llms.txt](https://help.clausebuddy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.clausebuddy.com/smart-templates/faq/how-do-i-update-a-template.md).

# How do I update a template?

Navigate to your templates

Click on the template you want to update and choose "edit" from the drop down menu:

<figure><img src="https://3419152551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYGsvJviMTNnfjOWV7Kpb%2Fuploads%2F21sc9HDgYjJYq3LcUDvg%2F1.png?alt=media&amp;token=ae2cf2e4-a57b-4583-a993-78f99dc27a7a" alt="" width="209"><figcaption></figcaption></figure>

Go to the "settings" tab and click on the grey button below "Download stored Docx file" to download the last version of the Docx file on which your Smart Template is based:

<figure><img src="https://3419152551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYGsvJviMTNnfjOWV7Kpb%2Fuploads%2FGyv8Y0boKM96zZM2SAUf%2F2.png?alt=media&amp;token=9ff78ea1-615d-4a82-ba4f-d317b1962c16" alt="" width="375"><figcaption></figcaption></figure>

The software automatically stores the latest version of the document on which the Smart Template is based.

Open the Docx file that you just downloaded.

Make the necessary changes in the Docx file and click on "Update" in the top right corner of the ClauseBuddy plugin:

<figure><img src="https://3419152551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYGsvJviMTNnfjOWV7Kpb%2Fuploads%2FYoeyKEbKpa9nnr7r3zFf%2F3.png?alt=media&amp;token=ea7e97b6-4797-4337-9260-0b13c91a1813" alt="" width="563"><figcaption></figcaption></figure>

Your Smart Template is now updated and you can create new questions and conditions if needed.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.clausebuddy.com/smart-templates/faq/how-do-i-update-a-template.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
