updating node samples