When you save the SVG file, do not overwrite the existing file with put method.
Instead, create a new file document and delete the old one.
That’s because the app basically assumes that the file will never be changed by design at the moment.
The mobile app caches image files in local and won’t update even if you overwritten them.
Another option for this issue would be to support drawio codeblock like math plugin.
Let’s say that you have the following codeblock in a note:
```drawio
<svg>...</svg>
```
And your plugin renders it as a SVG image in preview.
That allows your plugin to work without handling file documents.