updates for index