Update MainClass.php