I am thinking about symmetries and that their "quantum" consequences are Ward identities of the form $$<\beta|[Q,S]|\alpha>=0,$$ where $Q$ is the conserved charge associated with the symmetry at hand, $S$ is the $S$-matrix and $|\beta>$ and $|\alpha>$ denote out and in states. How do I prove that $$<\beta|[Q,S]|\alpha>=0$$ given that $Q$ is the charge generated by this symmetry? My thinking is that if $$U=e^{iQ\epsilon}$$ is an exponential operator, corresponding to the (finite) symmetry transformation, then I have to expand the transformed $S$-matrix elements and this should give me the commutator. However, isn't $U$ supposed to be transforming the $S$-matrix as well and cancelling, thus, the effects of the state transformation?
I hope the point of my confusion is clear.