automatically restart application on update