added dependent destroys to the models