update source tree and install brew packages