update generated file too