Update application/models/studentrankings_model.php