結果 : update dictionary function in python