use HttpClientBuilder
update state