Add and remove indexes in table update