update dynatree on change branch