Update ref.