def METHOD_NAME(self, key, value):
    print()
    print("Replacing...")
    start = time.time()
    encoded_key = encode_key(key)
    encoded_value = encode_value(value)
    for entry in self._state:
        entry[1] = self._replace_circuit.encrypt_run_decrypt(encoded_key, encoded_value, *entry)
    end = time.time()
    print(f"(took {end - start:.3f} seconds)")