changed foreign key on shared