Update Attendance.java and Main.java