included updated sql (new tables)