Updated computer set_group function to new format