updates http request