update sendRequest Handling