change db structure