foreign key erros
new crud method