update branch check