update HttpRequest
update sample