Updating directory stucture