Updating conditionals to node[] format