add value to tree_dict