update http client