update refrences