Update build method