# Keep content fresh

> Update the assistant's knowledge when your web pages or documents change, by re-syncing pages and replacing files.

Source: https://agentmysite.com/docs/guides/content/keep-content-fresh/

The assistant answers from the content as it was when AgentMySite last read it. When your pages or documents change, update them here so answers stay correct.

## Re-sync a web page or sitemap

Use **Re-sync** for pages you added by URL or from a sitemap.

<Steps>

1. In the sidebar, select **Documents**.

2. On the page or sitemap row, select the **Re-sync** icon (two circular arrows). It appears on rows with the status **Ready** or **Failed**.

</Steps>

The row goes back to **Queued** and is fetched again. Re-syncing a sitemap row re-fetches every page that was added from it.

AgentMySite compares each page with the copy it already has. Pages that haven't changed keep their existing chunks and return to **Ready** quickly. Only changed pages are processed again.

<Aside>
Re-sync is manual. AgentMySite doesn't re-check your pages on a schedule, so re-sync after you publish changes.
</Aside>

## Add new pages from your sitemap

Re-syncing a sitemap row refreshes the pages you already picked. To add pages you published since, run **Add from sitemap** again and select the new pages. Pages you already added are skipped. See [Add pages from your website](/docs/guides/content/add-a-website/#add-pages-from-your-sitemap).

## Replace an uploaded document

Uploaded files can't be re-synced. To update one:

<Steps>

1. Upload the new version of the file. See [Upload documents](/docs/guides/content/upload-documents/).

2. When the new version shows **Ready**, delete the old version: select its trash icon, then **Delete document**.

</Steps>

Uploading first, then deleting, means the assistant always has a version to answer from.

## Remove outdated content

Delete pages and documents that are no longer true, such as an old price list. The assistant stops using them as soon as they're deleted.

## Find gaps in your content

Select **Unanswered** in the sidebar to see the questions the assistant couldn't answer. Add content that covers them, then ask the question again in the widget to check.

## Next steps

- [Upload documents](/docs/guides/content/upload-documents/)
- [Troubleshooting](/docs/guides/troubleshooting/#answers-arent-what-you-expect)
