The package of Omeka S doesn’t come with any modules, and only one theme, the default theme. So there’s little overwriting that would happen.
If you look at the documentation for upgrading, it talks about how you should approach this: generally, you take the modules folder (and subfolders) from your previous version and just carry them over to the new one.
Updating the base or core is separate from updating the modules.