update pool api