code: public void update(CmsEntity entity) {
  
          List<Object> baseObjects = CmsEntity.getValuesForPath(entity, m_basePath);
          LinkedHashMap<String, String> options = Maps.newLinkedHashMap();
          for (Object baseObject : baseObjects) {
              List<Object> valueValues = CmsEntity.getValuesForPath(baseObject, m_valuePath);
              List<Object> descriptionValues = CmsEntity.getValuesForPath(baseObject, m_descriptionPath);
              if (valueValues.size() > 0) {
                  String value = (String)valueValues.get(0);
                  String description = value;
                  if (descriptionValues.size() > 0) {
                      description = (String)descriptionValues.get(0);
                  }
                  options.put(value, description);
              }
          }
          replaceOptions(options);
      }
docs: Updates the select options from the given entity.<p>
  
  @param entity a top-level content entity