Update graphing.php