core data assignment, not updating rating