Ok , Welcome to the forums but hijacking a post with a different question is in poor taste.
To answer your question, the upgrade or error 522 is reported by RIM as being associated with the Documents To Go application. The easiest method to upgrade any base software on the Blackberry is to use desktop manager. The application is free from RIM
BlackBerry - Support & Services
then go to downloads.