update file structure