update groups/active API & udpate groups/id API