Updates file hierarchy