code: def _move(self, index, new_priority):
          
          item, old_priority = self._memory[index]
          old_priority = old_priority or 0
          self._memory[index] = _SumRow(item, new_priority)
          self._update_internal_nodes(index, new_priority - old_priority)
docs: Change the priority of a leaf node.