added updatepeer