update nerdtree dir mode