Update database structure.