Update photo index