nodeUpdate method