update group names to lower case