updated patchHostgroup