update cgi