.
Discussion posts and replies are publicly visible
Why do you say that is not working? are you receiving any error or exception? or the problem is that the data is not being updated?