Update updatestatistics.php