update match case bug