---
title: Update bytes in-place using fileUpdate - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/update-bytes-in-place-using-fileupdate'
  md: 'https://shopify.dev/changelog/update-bytes-in-place-using-fileupdate.md'
metadata:
  effectiveApiVersion: 2023-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2023-04-28T09:53:32-04:00'
  postedAt: '2023-04-28T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:37-05:00'
  effectiveAt: '2023-04-28T00:00:00-04:00'
---

April 28, 2023

Tags:

* API
* 2023-07

# Update bytes in-place using fileUpdate

As of **2023-07**, you can use the `fileUpdateInput` to provide an originalSource which will be used to update the bytes of a file. Passing originalSource when updating is supported media images and generic files.

Using this functionality makes it easy to do an in-place update of an existing file.
