modify foreign key