Updating group classes structure.