Add a basic update checker

Is there a way we can do this without generating code in build.sh? I really don't like that we have to do this.