Added dept id to groups table