modifying rating data type