updating file struc