refactor the sub national table in order to properly update table with new data