update bad_ping networkname variable