def METHOD_NAME(self, addr, hl):
    blocks = self.view.get_basic_blocks_at(addr)
    if blocks:
        blocks[0].set_user_highlight(hl)
        if self.live_update and blocks[0].function != self.current_function:
            self.current_function = blocks[0].function
            self.view.file.navigate(self.view.file.view, blocks[0].start)
        self.highlighted.add(addr)
        self.cov_bb.add(blocks[0].start)
        if self.live_update:
            blocks[0].function.set_auto_instr_highlight(addr, white)
            time.sleep(0.1)
            blocks[0].function.set_auto_instr_highlight(addr, clear)