adds comment to state change