Your id_thred
field doesn't seems to be unique. So even if you make a SQL query to update the data, it will update the two rows. is this what yo are expecting?
My suggestion would be call a find method with condition id_thread
and get the primary key id and update the value using saveField
method