upgrade to new bc.js