added id, image_id from meds