update and fix add node
Merge pull request #43 from sylwesterkondracki/master

update and fix add node