added query to find the last update exam_request_id