Update generator/message_factory_gen.rb