Imported extensions will always sync with how they are defined in global repository. I have some ideas to make this more obvious and make it more difficult to edit them. It still needs to be possible to edit them in case you are improving them for everyone and submitting your changes to global repository.
If you create custom extension, your edits won’t be lost.
The question is, what is wrong with the current extension that requires you to fix it.