code: public void updateRecord(final ORecordInternal<?> record) {
      if (isEnabled() && record.getIdentity().getClusterId() != excludedCluster && record.getIdentity().isValid()) {
        underlying.lock(record.getIdentity());
        try {
          if (underlying.get(record.getIdentity()) != record)
            underlying.put(record);
        } finally {
          underlying.unlock(record.getIdentity());
        }
      }
  
      secondary.updateRecord(record);
    }
docs: Pushes record to cache. Identifier of record used as access key
  
  @param record
  record that should be cached