updated update-script for brew