Update statistics.class.php