Update communication.cpp