Update controller_main.php