update http client util