update branch management