Python Class Run Function Sql Example Update Query With Joins