Update dictionary in if() function

I am trying to insert data in dictionary in if condition and it shows reaction tree in output. I am new to appian please help me with this.

  Discussion posts and replies are publicly visible