Change db structure