Effect of frequency modulation on whistler mode waves in the magnetosphere