Final set of bug fixes for update patient.