update for bufferpool api change