update branch reference.