Fixed build script

- Fixed update checker
- Added update checker