Update view_stat.php