update checkpoints.