Update pie.php