Node edit functionality