implement missing ArrayUpdated in codegen