How can you update jailbroken iPod touch?

if its already jailbroken than you will need to unjailbreak it (take the jailbreak off)
then when its normal ;go to itunes go to and click update and cancel it because it will erase every thing than push shift+restore and it will update .then when its done install your jailbreak program:blackra1n,redsn0w,etc.