updated node class