Getting compiling error as no matching function for call to 'Mindwave::update()'

hey guys can anyone help me to solve this compile error. ihave attaches all the relevant documents with this.in this case i have combined two codes
thank you.

#include <Mindwave.h>
#include <Adafruit_GFX.h>    // Core graphics library
#include <Adafruit_ST7735.h> // Hardware-specific library
#include <SPI.h>

#define sclk 13
#define mosi 11
#define cs   9
#define dc   8
#define rst  7


Adafruit_ST7735 tft = Adafruit_ST7735(cs, dc, mosi, sclk, rst);

Mindwave mindwave;
int*     eeg;

void setup() {
tft.initR(INITR_BLACKTAB);   // initialize a ST7735S chip, black tab
Serial.begin(38400);
// tftPrintTest(); //Initial introduction text,
delay(1000);

tft.fillScreen(ST7735_BLACK); //  clear screen
tft.setTextColor(ST7735_WHITE);
tft.setTextSize(1);
tft.setCursor(30, 0);
tft.println("EEG Monitor");
Serial.begin(38400);
Serial.println("delta\ttheta\tlowAlpha\thighAlpha\tlowBeta\thightBeta\tlowGamma\thighGamma");
}
void onMindwaveData() {
eeg = mindwave.eeg();
for (int i = 0 ; i < MINDWAVE_EEG_SIZE; i++) {
 Serial.print(eeg[i]);
 if (i < MINDWAVE_EEG_SIZE) Serial.print('\t');
}
Serial.println();
//alternatively get individual value via delta(),theta() ,lowAlpha() ,highAlpha() ,lowBeta() ,highBeta() ,lowGamma() ,midGamma() functions
}
void loop() {

mindwave.update(Serial, onMindwaveData);


if (mindwave.update()) {
if (mindwave.Quality() > 100) {
 tft.fillScreen(ST7735_BLACK);
 tft.setCursor(0, 30);
 tft.setTextColor(ST7735_RED, ST7735_BLACK);
 tft.println("signal quality low");
 Serial.print(mindwave.Quality());
}
else {
 tft.setCursor(30, 0);
 tft.println("EEG Monitor");
 tft.drawLine(0, 20, tft.width() - 1, 20, ST7735_WHITE);
 tft.drawLine(0, 130, tft.width() - 1, 130, ST7735_WHITE);

 tft.setCursor(0, 30);
 tft.setTextColor(ST7735_YELLOW, ST7735_BLACK);
 tft.print("signal quality :");
 tft.print(mindwave.Quality());
 Serial.println(mindwave.Quality());
 tft.println(" ");
 tft.setTextColor(ST7735_RED, ST7735_BLACK);
 tft.print("Attention      :");
 tft.print(mindwave.readAttention());
 Serial.println(mindwave.readAttention());
 tft.println(" ");
 tft.setTextColor(ST7735_WHITE, ST7735_BLACK);
 tft.print("Meditation     :");
 tft.print(mindwave.readMeditation());
 Serial.println(mindwave.readMeditation());
 tft.println(" ");
 tft.setTextColor(ST7735_GREEN, ST7735_BLACK);
 tft.print("Delta      : ");
 tft.print(mindwave.readDelta());
 tft.println(" ");
 tft.print("Theta      : ");
 tft.print(mindwave.readTheta());
 tft.println(" ");
 tft.print("Low Alpha  : ");
 tft.print(mindwave.readLowAlpha());
 tft.println(" ");
 tft.print("High Alpha : ");
 tft.print(mindwave.readHighAlpha());
 tft.println(" ");
 tft.print("Low Beta   : ");
 tft.print(mindwave.readLowBeta());
 tft.println(" ");
 tft.print("High Beta  : ");
 tft.println(mindwave.readHighBeta());
 tft.print("Low Gamma  : ");
 tft.print(mindwave.readLowGamma());
 tft.println(" ");
 tft.print("Mid Gamma  : ");
 tft.print(mindwave.readMidGamma());
 tft.println(" ");
}
}

}

}

void tftPrintTest() {
tft.setTextWrap(false);
tft.fillScreen(ST7735_BLACK);
tft.setCursor(0, 10);
tft.setTextColor(ST7735_WHITE);
tft.setTextSize(1);
tft.println("Devolped BY saaj");
delay(500);
tft.setCursor(40, 60);
tft.setTextColor(ST7735_RED);
tft.setTextSize(2);
tft.println("EEG");
tft.setTextColor(ST7735_YELLOW);
tft.setCursor(20, 80);
tft.println("Monitor");
tft.setTextColor(ST7735_BLUE);
delay(50);
}

Adafruit-ST7735-Library-master.zip (50.7 KB)

SPI-master.zip (22.3 KB)

Adafruit-GFX-Library-master.zip (326 KB)

ihave attaches all the relevant documents with this

But unfortunately you did not put your code in code tags so much of it has been turned into italics and the array index has disappeared. Please edit your post and add code tags.

See Read this before posting a programming question for details

The last character in your post should be a '}'.

But it isn't.

Maybe there are other problems, but all we know is that the code you posted badly is incomplete.