reflect changes of dir structure