update refs.