Bugfix: Added commit() to actually execute update query in pymysql