結果 : iterate through dictionary and update values python