updates rating