Did you verify the database is getting updated? That’s where I would start. Also, system.db.runPrepUpdate returns an integer of the number of rows inserted so you can print that to the console to help narrow things down.
Did you verify the database is getting updated? That’s where I would start. Also, system.db.runPrepUpdate returns an integer of the number of rows inserted so you can print that to the console to help narrow things down.