update the references