Edit HoleWizard Feature Macro

Hi I'm trying to figure out away to modify a 1/2" C'Bore to a M12 C'bore Holewizard feature in a macro.

I have looked around for some example code with no success I haven't found anything that modifies the existing hole to a new hole size.  Any help would be aprrecaited I have a whole design that needs to be changed from imperial to metric and was hopping for a easy button

Thanks

SolidworksApi macros