Update Distinct Subsequences