updated extract the response data