code: def test_update_record(self):
      now = self._round_to_millisecond(util.utcnow())
      msg_id = self.db.get_history()[-1]
      rec1 = self.db.get_record(msg_id)
      data = {"stdout": "hello there", "completed": now}
      self.db.update_record(msg_id, data)
      rec2 = self.db.get_record(msg_id)
      assert rec2["stdout"] == "hello there"
      assert rec2["completed"] == now
      rec1.update(data)
      assert rec1 == rec2
  
imports: import logging
  import os
  import tempfile
  import time
  from datetime import datetime, timedelta
  from unittest import TestCase
  import pytest
  from jupyter_client.session import Session
  from ipyparallel import util
  from ipyparallel.controller.dictdb import DictDB
  from ipyparallel.controller.hub import init_record
  from ipyparallel.controller.sqlitedb import SQLiteDB
  from ipyparallel.util import utc
label_desc: Use image node_id 7 for calling the TaskDBTest obj's underlying member method code with example usage: obj.test_update_record() without return types