implemented attendance record save/update scenario and lesson status update