update dir structure.