added ability to change header row by overwriting current header row