update finished index