class ViewModel::ActiveRecord::UpdateOperation

def viewmodel_reference

def viewmodel_reference
  unless viewmodel.model.new_record?
    viewmodel.to_reference
  end
end