update attendace with validation
Conflicts: application/controllers/admin/attendance.php  resolved