update the group headers