Writing remove and relink leaf node method