Update for index