code: public void markForUpdate() {
          if (!updated) {
              updated = true;
              
              // Make a copy of the underlying property map, if non-null
              if (properties != null) {
                  properties = properties.copyOf();
              }
  
              tx.markForPropertyUpdate(this);
          }
      }
docs: This method prepares the vertex/edge for an update