update debug in httpclient