結果 : update function in dictionary python