update match

make the output as sequence