fix fetch bug

fetch leaves some references out of date.  update the repo objects after fetch