Update main_adapter.rb