Update to use new Ratchet index callback mechanism