Add skeletal update_ref()

* Just asserts that are in repo