fix OffsetManager update and checkpoint bug