It's worth mentioning that after the upgrade you might run into permissions problems: https://github.com/Homebrew/homebrew/blob/master/share/doc/h...
You might want to run `brew update` before updating, so `brew doctor` can help you troubleshoot issues afterwards.