Footprint to symbol after mistake

Hi all,

I have a project here, where I have done initially the schematics without hierarchical sheet. After that I have done the routing.

Some time after that I decided to clean my schematics and organize it with hierarchical sheet and so on (after the routing is done).

I have done a mistake by copying a block of components from my main early sheet to paste them inside the new hierarchical sheets, and that have renamed some of my components.
Then I deleted the original components from the main sheet.

When I press the update from schematics in the design I already made, all the components that have a new name from my mistake, are re-integrated in the board, but, the old one are already placed / routed (see capture).

I have found a similar issue here : https://forum.kicad.info/t/solved-duplicated-footprints-after-splitting-a-schematic-into-hierarchical-sheets/ but the answer did not work for me.

I tried to name the symbol accordingly to PCB editor (match new to old symbol name), but it still import a new footprint with the same name of the footprint already in PCB editor.

Maybe I can delete old footprint and place a exact same spot the new one that are imported when “update from schematics” ?

Mounting holes are still unconnected (no connect flag in schematics editor - same as before but I placed them in a subsheet), and same, they appear with a new net (see catpure) which makes no sense since it is tied to no connect flag ?

Also, trace are associated with for example net “SW1” in PCB editor (old net name), now are assigned to net “subsheetname/SW1”, is there a way to not re route everything ?

What is the best way to solve those issues ?

At the end it is ok to replace old with the new footprints for me, but the changed net are a problem still.

Thank you

See if this explains and solves the problem…