update the reference