Uno PWM Frequency Adjustment

Does any one know how to change the frequency of the PWM on the Uno? Right now it is running at 502hz (500hz target). This drives me insane for motor driving. I would like to change it up around 20-55khz. Is this going to be a software thing or hardware mod?

You can change the prescaler with a line or two of code. Try Googling for that (eg. Arduino PWM prescaler)

Perfect! Found what I was looking for on the first link. Thank you so much!