code: public List<String> updateType(String typeAsJson) throws AtlasServiceException {
          LOG.debug("Updating type definition: {}", typeAsJson);
          JSONObject response = callAPIWithBody(API.UPDATE_TYPE, typeAsJson);
          List<String> results = extractResults(response, AtlasClient.TYPES, new ExtractOperation<String, JSONObject>() {
              @Override
              String extractElement(JSONObject element) throws JSONException {
                  return element.getString(AtlasClient.NAME);
              }
          });
          LOG.debug("Update type definition returned results: {}", results);
          return results;
      }
docs: Register the given type(meta model)
  @param typeAsJson type definition a jaon
  @return result json object
  @throws AtlasServiceException