Refactored save node so it will both create and update vertices