refactor addHeaderRow
update stored arrays
actual, like, html