結果 : update function in dictionary in python