update tree view