Update subscriber.cpp