Update ref to persistent handles