Updated Rating, changed Graph to use arrays