code: def update(self, source_file, configuration, declarations, included_files):
          
  
          record = record_t(
              source_signature=file_signature(source_file),
              config_signature=configuration_signature(configuration),
              included_files=included_files,
              included_files_signature=list(
                  map(
                      file_signature,
                      included_files)),
              declarations=declarations)
          # Switched over to holding full record in cache so we don't have
          # to keep creating records in the next method.
          self.__cache[record.key()] = record
          self.__cache[record.key()].was_hit = True
          self.__needs_flushed = True
docs: Update a cached record with the current key and value contents.