code: @POST
      @Path("{guid}")
      @Consumes({Servlets.JSON_MEDIA_TYPE, MediaType.APPLICATION_JSON})
      @Produces(Servlets.JSON_MEDIA_TYPE)
      public Response updateEntityByGuid(@PathParam("guid") String guid, @QueryParam("property") String attribute,
                                         @Context HttpServletRequest request) {
          if (LOG.isDebugEnabled()) {
              LOG.debug("==> EntityResource.updateEntityByGuid({}, {})", guid, attribute);
          }
  
          AtlasPerfTracer perf = null;
          try {
              if (AtlasPerfTracer.isPerfTraceEnabled(PERF_LOG)) {
                  perf = AtlasPerfTracer.getPerfTracer(PERF_LOG, "EntityResource.updateEntityByGuid(" + guid + ", " + attribute + ")");
              }
  
              if (StringUtils.isEmpty(attribute)) {
                  return partialUpdateEntityByGuid(guid, request);
              } else {
                  return partialUpdateEntityAttrByGuid(guid, attribute, request);
              }
          } finally {
              AtlasPerfTracer.log(perf);
  
              if (LOG.isDebugEnabled()) {
                  LOG.debug("<== EntityResource.updateEntityByGuid({}, {})", guid, attribute);
              }
          }
      }
docs: Updates entity identified by its GUID
  Support Partial update of an entity - Adds/updates any new values specified
  Does not support removal of attribute values
  
  @param guid
  @param request The updated entity json
  @return