Rewiring a house and upgrading an electrical panel are two separate projects, and one is not dependent on the other. You do not need to rewire the house when replacing an electrical panel unless you have additional electrical grid problems that require this to be done. \