Added functions to update remaining grades, fixed total issue in fake data