added dependent destroy to rater