Just have the "Edit" action in @macros act as a function to delete the selected macros and replace it with the new macro, speeding things up a little in that you don't have to separately delete, then make a new macro with the same name. You don't need to implement whatever it is you guys were planning to with the Macro Editor.