update branch status