MZ How to update plugin without losing customized settings

So throughout a project I am working on , Vizustella and CGMZ updated the plugins I am working with.
Now that I try to update them , all my settings seem to be gone.
Is there a way to update plugins safely ?
I’ve moved this to JavaScript/Plug-in Support.
To update a plugin, you copy and paste the new .js file over the old .js file, overwriting it, is this what you are doing? Your old settings should persist through updates, but you might need to configure new/changed settings that were added in the update. You could also make a backup of your old .js file if you're worried about the update breaking something.
Thank you , that seem to work

Original thread: https://forums.rpgmakerweb.com/threads/how-to-update-plugin-without-losing-customized-settings.158839/