Updating matbranch