editing node states