# Adding custom synonyms to an index

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/amazon-kendra-developer-guide.git)
{% endhint %}

## Updating a thesaurus

* **Note**\
  If there are validation or syntax errors in the thesaurus file, the previously uploaded thesaurus file is retained.
