add department to group table