update branch and company model