update photos index spec