Delete duplicate z-wave switch DH

I needed to set a configuration parameter for a device and I read the best way to do that was to copy an existing device handler and add the command to the update method. I was able to copy the Z-wave switch DH and set the config parameter successfully. However now I can’t delete this new local copy of the DH. When I try it says other devices are using it. I have about 10 devices using this DH. Any ideas other than deleting all the devices using it or setting all the devices temporarily to a different DH?