add foreign keys and relationships
update dev db with foreign key changes