updated brew install code