this is the save into code what might be the issue here
Discussion posts and replies are publicly visible
What is the structure of your dictionary? Did you initialize it before you passed it as a rule input? It must have a value/structure in order to update it.