Updated quiz DB tables with foreign keys