To run multiple executions a time, the SQL statements should be separated by semicolons(;) and with the multi option as true. And meanwhile, cursor.execute returns an iterator, so we have to iterate it so that our statements get executed.
for _ in cursor.execute(update_string, multi=True): pass cnx.commit()