Python Loop Through Dataframe And Update Values In Sql