When a new version is available there are three options presented. Install and restart, install on quit and cancel or don't install (I forget the exact wording). The install on quit option on OS X 10.5 has never worked for me on any of my Macs (I have three all on OS X 10.5.
.