update them for index