Updated with ability to edit a rating