Updating to iOS 5.0 will delete all of the apps and media, including iTunes Store purchases, on your iPhone. To preserve your content, apply this update on the computer where you sync apps, music, videos, and photos.
Updating on this computer will only preserve contacts, calendars, text messages, and other settings. Please do not interrupt the update, which may take an hour or longer to complete.