add save rating method