sendRequest() method update