Update Environment and htaccess