Update receiver.cpp