add required groupid to message