Update the table to use a thead element