update index with photo