updateNodesWithLabelsAndProperties: update a node by providing their labels and properties and the new properties that need to be inserted or updated.