upgrade rating controller and view