Update datamapper_resource.rb