Updated model to use the cascade delete rule