added deleteAccountPool and updateAccountPool functionality