adds date format to the table header
can now update patient, date format is still weird
fixes dates