if you mean my old script from 2013, yeah I have learned things since then
in fact anything I made before 2015 should be scrap
I've seen your script collection release topic, you should be able to handle this kind of modification ....
this is script support section after all ... no spoon feed
and ? which part you don't understand ?
just add the ON DUPLICATE KEY UPDATE statement inside OnAgitBreak label of woe script