update the refernce