Updating dir structure