Replace asset not working in Cloud version

[details=“System Information”]

  • Strapi Version: v4.11.5
    We have cloud Strapi running. When developing locally the replace asset function operates correctly with the media file being updated. In the cloud hosted deployment this is not working and the media is not updating.
    Many thanks for any help