Update class.executePhoto.php