update addgroup flag