$update = qq{UPDATE inst_3 SET u1=? WHERE object=?"; $sthinstance = $dbhinstance->prepare($update); $rvinstance = $sthinstance ->execute( $toupdt, $curent );