Fixed a bug creating multiple Nodes and Relationship when adding/updating