ypdating Peer.cpp