While you update your what?
Anyway, in Windows, an easy method I've found to stop the computer from going to sleep is to leave a video file open on full screen. Windows, by default, lets the running of full screen applications override any power-saving techniques.
By the way, again, while you update your what? How big is this update anyway?
- Nick