update group create logic