update checkpoints file.