Update getPhotos