private function getPools($poolId = null) { $pools = new Pools(); $data = $pools->update($poolId); return $data; }