to provide or connect (something) with wire again; especially : to replace the electrical wiring of (something, such as a building or electronic device)
rewire
verb(re-wire)
to make lasting and usually beneficial changes to the neurological or psychological functioning of (a person or brain) —not used technically