Code below working fine except I expect to install updates and restart app immediately when press "Yes" but its strill required restart manually to get updates to