update Generate file