Automatically update matches when text changes