database structure design and seed update