update with http response headers