* record the last state of a node