update 404 generator and .htaccess