updated calls and references to new libbtcapi