update ping information every time when connected