Update monitor.php