Update photo.php