updates to group analysis