Grandfather old code during renovations?
It depends on the jurisdiction, my state I can move an outlet up to 6’ without having to update to current code. Even with the kitchen walls open I don’t have to update 3 wire range receptacles unless the panel is on a common wall with the range on that wall. 

we need to under stand that updating surface finish (no structural changes) this is not a “remodel” but is redecorating, permits are not usually required for redecorating but they usually are for remodeling. 

So it depends on the jurisdiction, new cabinets many call remodeling but it is truly redecorating.