update http code