Add update and delete rules to foreign key methods