Can not update save image

hi

i am using ketai camera to take shoots of images and save them to folder the sketch works fine and save the pics to the folder but when start new shoots the pics in the folder remains the old once not the newer despite the date of the pics updated to the newer shooting but old remains

if i retard my android sometime the pics updated and sometimes not

what i am missing any help or hints ???

thanks in advance

import android.os.Environment;
import ketai.camera.*;



KetaiCamera video;


//colors
color black=color(0);
color white=color(255);

//variables
int iteration; 

float pics_per_rev = 20; 





void setup() {
  orientation(LANDSCAPE);
  video= new KetaiCamera(this, 600, 480, 60);
 
  video.setCameraID(0);                                       
  imageMode(CENTER);
 

  video.start();
}

void draw() {
 // image(video, width/2, height/2, width, height);
  drawUI();                                                 
}

void drawUI() {                                            
}



void onCameraPreviewEvent() {
 
  video.read();

  image(video, 0, 0, width, height);
  video.loadPixels();
  delay(4000);
  for (iteration=0; iteration<pics_per_rev; iteration++) {
    video.read();
    image(video, 0, 0, width, height);
    video.loadPixels();
    for (int n=0; n<video.width*video.height; n++) {
      video.pixels[n]=video.pixels[n];
    }
    video.updatePixels();
    set(20, 20, video);
    String file ="raw_image-"+nf(iteration+1, 3)+".png";
  

    String file_name= new String(Environment.getExternalStorageDirectory().getAbsolutePath() +"/go/");

    video.save( file_name+  file);
    noLoop();
  }
}

Edit

the result is the same if i used pc android mode or APDE or even i delete the captured folder i got the old captured photos at the new run