update channel listener and mutex but for now the mutex not work