updating the file structure