add foreign keys