Update channel.cpp