fix last date attended for students