dynamic group id changing