Update message_gateway.rb