added option --update-existing-branches, docs not yet modified