update htaccess, main.php