add foreign key editing capability