change pending count