sophia-update: fix index format usage and tuple refs tracking.