fun update(p: Pair<K, V>): Unit
Algorithm for updating a key k in the DB-tree T with a new value v assuming that k is already present in T.
p - the key to be updated and the corresponding new value.
p