resubmitting changes from PR #162
Merge pull request #180 from rhauck/github-subrepo-update

resubmitting changes from PR #162