added update_rating view