when i am updatin my i phone 3gs its sayin could not be activated because the activation server is temporarily unavailable
That's almost always because the phone was hacked or jailbroken to unlock it.
Call AppleCare, give them the model and serial number of your iPhone and find out which cell carrier it is now locked with. Contact that cell carrier and see what the process is to officially unlock your iPhone and whether you qualify.
Retrieving data ...