Add groups in model