modify db structure