Thanks for the answer.
But I found that the updatequery is something like

update table set fld1=?,.......
where fld1=?,.......

to execute this query we should pass the new changed value before "where" field1=newvalye,... and should pass the old value
after "where" where field1=oldvalue and ...........