building up tree
click event on tree
update tree data