Added methods to set state of channels