Fix: Update the pointer when the new key is inserted.