update htaccess and db