Update model_stat.php