Updates node based on input Should be called after the node was constructed
the node to update
defines how to update the provided node