update title pattern