probably shouldn't update the ref itself.