update to pools api