Updated the database design and tables.sql