update CGI env