Update Main.php