> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.peak-pim.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🔄 Replacing a media file

If you need to swap an image or video while keeping everything that points to it, use `Replace` instead of deleting.

# Step-by-step

### 1. Open the media file in Peak PIM

### 2. Choose `Replace`

### 3. Upload the new version

# What happens next

Peak PIM keeps the file's connections intact and updates the products and collections that use it the next time they publish.

||| This is the safest way to update a photo everywhere at once across your Shopify stores.

👉 [My replaced image isn't updating in Shopify](https://help.peak-pim.com/en/article/my-replaced-image-isnt-updating-in-shopify-11qojan/)