update object pool