have something for the edit rating function in the views