Update cgi file