Update pi.php