Python Loop Through Dataframe And Update Values In Pandas