Update db structure.