update virtual machine when tracking branch changes