Update scorehistory.php