Updated instructions for `brew update` and `brew doctor` commands to be run before installing dependencies.