update db migrate to create better tables.