Refactoring: change rating in the queue