Update build code