update httpserver.go