You would need to change the dict, (dunno what your data source looks like), then call
self.rebuild_flat_entries() followed by self.table_view.reload() on the controller .

Alternatively, whatever is updating the dict in the first place would call table_view.insert_rows, similar to how do_expand works.