Adjusted getEndpointStreamReader na dataunit to use param query or update based on the nature of the query