update http class