update for http client