update refs location