updated group creation