update node
fixed degrees logic
fixed degrees logic