public function update($name, $attrs) {

    $headers = array();
    foreach ($attrs as $item => $val) {
      switch ($item) {
        case 'ttl':
          $headers['X-TTL'] = (int) $val;
          break;
        case 'enabled':
        case 'cdn_enabled':
          if (isset($val) && $val == FALSE) {
            $flag = 'False';
          }
          // Default is TRUE.
          else {
            $flag = 'True';
          }
          $headers['X-CDN-Enabled'] = $flag;
          break;
        case 'logs':
        case 'log_retention':
          // The default is TRUE.
          if (isset($val) && $val == FALSE) {
            $flag = 'False';
          }
          else {
            $flag = 'True';
          }
          $headers['X-Log-Retention'] = $flag;
          break;
        default:
          $headers[$item] = (string) $val;
          break;
      }

    }

    $response = $this->modifyContainer($name, 'POST', $headers);

    return $response->status() == 204;
  }