Replace Home.xml after Update

I am using OSMC on my RPi 3 with the Confluence Skin.

After every OSMC Update the Home.xml will be reseted.

Any way to prevent this or to automatically replace the file after the update?

Please supply the full path to the file that is being changed.

There are system wide kodi xml files that are changed by the upgrade process and also separate userspace xml files which are preserved. I suspect you are changing the wrong one.

/usr/share/kodi/addons/skin.confluence/720p/Home.xml

What are you modifying in that file that is being replaced? Maybe there is a way to set the setting which would be preserved…

Copy the skin to the local .kodi directory.
Modify as desired.