rooting Samsung captivate with the new gingerbread release
To install non market apps, u dont need to root your phone . :\ 
I dont think u need to unroot your device for updating it through samsung kies. 
But after updating to Gingerbread, your device is automatically unrooted.