Updating date format to be correct