update the date format and line numbering so it can be changed