The templates only contain a reference to what module is present, where it is on the page, and what a few settings, such as the permissions, are. As far as the actual module code is concerned, all instances of the module on any portal in the DNN installation are the exact same one, just with different settings.
So yes, you're wondering correctly... updates to the module code apply everywhere.
Rob