update BCH script