db struct change