Update directory tree.