Update to pymysql