Update relationships to support `hasOne`.