public String updateGradeItem() throws IOException {
        InputStreamReader in = new InputStreamReader(System.in);
        BufferedReader keyboard = new BufferedReader(in);
        DBConnector db = new DBConnector();
        
        System.out.println("Updating an assignment");
        System.out.println("Assignment ID : ");
        int id = Integer.parseInt(keyboard.readLine());
        System.out.println("Possible Points: ");
        int possiblePoints = Integer.parseInt(keyboard.readLine());
        System.out.println("Earned Points: ");
        int earnedPoints = Integer.parseInt(keyboard.readLine());
        try {
            db.updateGradeItem(id, possiblePoints, earnedPoints);
            return "Grade updated";
        } catch (Exception e) {
            return e.getMessage();
        }
    }