Update analysis.php