Update elasticsearch.rb