# FixedRating not upgraded if rating is deleted

Affected version
2.0.1

#### AndyB

##### Well-known member
When a rating is deleted, the xf_rm_resource table is not updated, so the rating is still shown in the main resource list.

I think the following fields require updating after a rating is deleted:

rating_count
rating_sum
rating_avg
rating_weighted

#### Chris D

##### XenForo developer
Staff member
I think I've just sorted this for the next release. It seems specifically related to our logic which needs to differ slightly if the rating is being hard deleted. Thanks.