Matplotlib Update Data In Sql