update the starting pattern
leftover string