Update build.R