working on updating ratings to backend