added updater code to startup