Node delete functionality