update index to fix image issue