added node update functionality.
set smooth curves to false in options