Update all the references