update good_ping and bad_ping