pool creation and updating