change node's state from cntools