I was asked to swap out all the kitchen counter plugs on a kitchen remodel, they are not spaced correctly according to the nec. The cabinets and countertops were swaped out for new ones and the kitchen has the same layout as it did before it was remodeled. NO sheetrock was removed. When i had my inspection the inspector said that I had to bring the counter up to current nec code regulations, (2) small appliance circuits and have the plugs spaced correctly. I have always been under the impression that existing wiring doesnt have to meet current code standards unless the walls come down. Is there a code about existing electrical work anywhere in the code I cant find it if there is. thanks