Update generateAssembly