Update statistics.class.php to use vardiff