Updating directory structure