How do I add another node:descriptor to an existing node?

All of our nodes are defined as n:ProgNode {nodetype:current, otherstuff) where n.current could be one of 20 items. I am trying to "promote" current to the node level so I have a structure like this n:ProgNode:Current or n:ProgNode:Previous which would make selection much easier.

Same with my connections. I need to have different connections depending on the use case.

Seems simple, can't get the syntax correct.

Hi @bill.dickenson,

MATCH (n:ProgNode) WHERE n.nodetype = current
WITH n
SET n:Current

and same method applies to other use cases.

if I have several node types (current happens to be one of 6) can it be a variable or do I need to code up one for each ? - Thank you for the fast answer