Update opm-core.rb