Official: Pirlo signs Juve extension