Update and restart your app programmatically