change workflow state of message groups