What is the best method of unjailbreaking an iPhone 3 gs back to factory settings. I tried updating software on iTunes and then my phone would not activate even with sim in it. Had to have it jail broken again. What did I do wrong as I don't want this to happen again.