I am trying to update data to database on click of button. When i click the button it throws me an error and replaces all rows data same as 1st row.I dont know what the issu