update dir tree