TMMaster GSC is a nice program for editing TMs.
Open your ROM from the File menu and select the TM on the left side list. Then select the corresponding attack. If you want you can change the TM price.
In this tool there’s also the option for editing TM compatibility.
When you’ve finished editing, CLICK SAVE ON THE FILE MENU OTHERWISE YOU’LL LOSE ALL THE CHANGES.