added functionality of updating account pool with new pool configuration