code: private void updateVertexProperty(AtlasVertex vertex, String propertyName, String newValue) {
          if (StringUtils.isNotBlank(newValue)) {
              String currValue = vertex.getProperty(propertyName, String.class);
  
              if (!StringUtils.equals(currValue, newValue)) {
                  vertex.setProperty(propertyName, newValue);
              }
          }
      }
docs: /*
  update the given vertex property, if the new value is not-blank