Can I update my iPhone on a different computer & still keep my music etc

My laptop crashed which had my entire iTunes library on it. I really need to update my iPhone & was wondering if I could use a different computer to update my iPhone. Like can my iPhone back up the all the data that's currently on it to a new computer? That way if I update using a different computer I won't lose all my pics, music etc

You could update it, but the bad thing is, iphones work off of itunes and sync when you update. So when you update it'll sync with that computer. I'm not 100% sure on whther it'll delete your stuff or not but i know for a fact it'll sync and possible delete everything and put all the stuff from it's itunes library to your iphone.

i'm confusing i know