Bugfix: brew_update_formula.py
diff --git a/thefuck/rules/brew_update_formula.py b/thefuck/rules/brew_update_formula.py
index 2100c23b9..6b4f798b8 100644
--- a/thefuck/rules/brew_update_formula.py
+++ b/thefuck/rules/brew_update_formula.py
@@ -5,7 +5,8 @@
 def match(command):
     return ('update' in command.script
             and "Error: This command updates brew itself" in command.output
-            and "Use 'brew upgrade <formula>'" in command.output)
+            and "Use 'brew upgrade" in command.output
+            and "instead" in command.output)
 
 
 def get_new_command(command):

Sample command output is:

    Error: This command updates brew itself, and does not take formula names.
    Use 'brew upgrade thefuck' instead.

This will never match the previous `"Use 'brew upgrade <formula>'" in command.output` test.