udpate file structure.