Update index as well