Add update and destroy functionality for attendance