updat file structure