Updating rating table