Added edit and delete function to Medications