changed migration tables to update relationships