Saving nodes in a single transaction