Added changeAttendance method to Attendance