update on database structure