Update longest consecutive string