图像字段更新查询

I create a form to upload and display image in php ... Im trying to find out how I can update a blob field in a table but it is not working here is the code

    $editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
  $updateSQL = sprintf("UPDATE product SET ProductName=%s, `Description`=%s, ProductPrice=%s, ProductPic=%s, PictureType=%s WHERE ProductID=%s",
                       GetSQLValueString($_POST['ProductName'], "text"),
                       GetSQLValueString($_POST['Description'], "text"),
                       GetSQLValueString($_POST['ProductPrice'], "double"),
                       GetSQLValueString($_POST['ProductPic'], "text"),
                       GetSQLValueString($_POST['PictureType'], "text"),
                       GetSQLValueString($_POST['ProductID'], "int"));

  mysql_select_db($database_dutyfree, $dutyfree);