updatedVertices in such a way that the node is created if it doesn't exist, and its properties (excluding id and label) are updated if a match is found on <id, label>.range/tail approach probably isn't feasible. I've tried ti tinker with sideEffect, but any attempts resulted in a serialization error through the JDK proxy. I've also tried some of the solutions suggested here, but I haven't had much luck either.