Update packages and build script