Made running updates safer and less likely to crash on startup