Update generating.lua