The value that was changed will be present in the database.
Suppose your old value of optionset was 1 and new value of optionset is 2
What you need to do is set all the optionsets with value 1 in the database to 2. Run the below sql update.
Update tablename
set optionsetname = 2
where optionsetname =1
Regards, Saad