updated structure.sql