Update devices references.