add beforeBranchUpdate(), $this->current contains info about the branch being operated on
add beforeBranchUpdate(), $this->current contains info about the branch being operated on