update http connection