* added reboot option if required
* fixed check for apt-get update