the way kabuto modified him is simply inserting hashi cell to his body.. LOL Madara already had Hashis cells bfore he died. Nd he had also awakened the rennigan though at a old age nd gave it to nagato.