updating a branch