update file template file structure