update file struchure