The SET clause looks odd. If you want to set the value of success column, try something like
query = "update Table_1 set success = @succes1 where id_2 like @id2"
also you first need to add the parameter into the parameters collection before defining the value for it. I believe that the easiest way is to use
AddWithValue[
^]