adding history to patients