updated mark attendance