Update main.php.dist