update upload_photo.php