add generate tree-view and update tutorial