Clarrification About Updating UXP Plugin Photoshop

So here is the scenario…

I created a UXP plugin for Photoshop and distributed to a few friends.
Now I have updated the plugin by adding more features to it.

Question
What determines that the New Updated Plugin will overite the installed plugin when installed via the CC App.

Is it the “id” found at the top of the Manifest.json file ?

What I DON’t want is to have multiple version floating about.

Plugins are considered unique based on their id in the manifest. As long as you don’t change that, your new plugin will overwrite the previous version.

Thank You for the clarrification