Go to Nokia's website and download the Nokia Ovi Suite. This is the official Nokia Phone management program and can be used to backup your contact, messages, photos, picture etc from your phone to your computer.
As for the flash. Use Nokia Ovi Suite again to find an update for your phones firmware. Follow the steps and it will automatically download and install the correct firmware to your phone.