Update pool.py