Update Main.java

Create of edit Attendance method