Add statistics to update.php