Python Loop Through Dataframe And Update Values In A Dictionary