Updates index computation.