adapt to our role groups in database