update punctuation detection