update gen file