rewire

intransitive verb

To provide with new wiring.

To install new wiring.

verb

To replace or reconnect the wires of a device or installation.

To change the functionality of something by altering the parameters or logic.

Provide with new wiring.