Python Loop Through Dataframe And Updates