added ability to specify branch to update. Default to 'master'