update ping frequency