Index 2 and spark update