update inidex1 and add index2