I'm using Powershell 7.0.0 and when I'm updating a script via "Update-Script" which has originally been installed for the AllUsers scope, it will be reinstalled with the new version in the current user scope instead of the AllUsers scope.
I do not know about Update-Module, but it might have the same problem.