updating file structure