docs: def update(context, id, job_id, name, type, url, data):
      """update(context, id, export_control, active)
  
      Update an analytic
  
      >>> dcictl analytic-update [OPTIONS]
  
      :param string job-id: The job on which to attach the analytic
      :param string name: Name of the analytic [required]
      :param string type: Type of the analytic [required]
      :param string url: Url of the bug [optional]
      :param string data: JSON data of the analytic
      """
  
      analytic_info = analytic.get(context, id=id, job_id=job_id)
  
      etag = analytic_info.json()['analytic']['etag']
  
      result = analytic.put(context, id=id, job_id=job_id, etag=etag,
                            name=name, type=type, url=url, data=data)
  
      utils.format_output(result, context.format)