refresh dir structure