added DDL for updated stats DB