update group list logic