database structure updated