Update index and add img