If you upgrade iOS with iTunes, your device will be un-jailbroken and Cydia packages will be deleted. Before upgrading iOS, make sure a jailbreak is available for the new version.