update treetable