edit main.php