updated meds extraction tool