code: public boolean updateEntityGroup(EntityGroup entityGroup) {
          String entityGroupName = entityGroup.getName();
          checkEntityGroupIsEmpty(entityGroupName);
          QueryPart<EntityGroup> query = new Query<EntityGroup>("entity-groups")
                  .path(entityGroupName, true);
          return httpClientManager.updateMetaData(query, patch(entityGroup));
      }
docs: Update specified properties and tags for the given entity group.
  <p>
  This method updates specified properties and tags for an existing entity group.
  </p>
  Properties and tags that are not specified are left unchanged.
  
  @param entityGroup the entity group to update
  @return {@code true} if entity group is updated.