update index and add pic