Why is the rating not updated?