update http adapter