Update photo.py