stupid rating calculation -> passing tests
added support for updating in UAM, test case passes