update gui
make python2 BaseHTTPRequestHandler happy