only store the latest checkpoint