updater service example, add autostart source code