[server] Use a new Host access method: upsertHostgroupMembers().