updates tableview delegate and removes section header