code: @Override
      public CreateUpdateEntitiesResult updateEntities(String entityInstanceDefinition) throws AtlasException {
          entityInstanceDefinition = ParamChecker.notEmpty(entityInstanceDefinition, "Entity instance definition");
          ITypedReferenceableInstance[] typedInstances = deserializeClassInstances(entityInstanceDefinition);
  
          CreateUpdateEntitiesResult result = repository.updateEntities(typedInstances);
          onEntitiesAddedUpdated(result.getEntityResult());
          return result;
      }
docs: Updates an entity, instance of the type based on the guid set.
  
  @param entityInstanceDefinition json array of entity definitions
  @return guids - json array of guids