Today Nikon released distortion control data upgrade for the D90 and D5000 cameras:
"The Distortion Control Data firmware upgrade is available for Nikon D90 and D5000 cameras only. This is used to correct barrel and pincushion distortion during shooting and editing. This may be loaded into cameras that support distortion control."
Detailed instructions on how to upgrade your camera can be found here.