Updating to new pooler api