fixed mkAllInsts.cpp to work with update