updated model according to treestore