Change the frequency for the trajectory