Updates file structure