Update photos.py