updates to retrieve_medicine