updated currentindex name