Keeping OH2 up to date

Has anyone a good way to keep OH2/ZWave/Habmin2 up to date now when its a moving target?
Re-installing and discover generates new item names which messes up sitemaps and rules :frowning2:.
Thanks in advance Tommy

I asked the same

please see the following
the script there is perfect …

Many thanks, I’ll try it out!