Updated photo controller