Update resource_adapter.rb