intermediate version, attempting to fix entity association issues
intermediate: entity associations working for insert, failing for delete