update index gallery