Fixed modifying attendance API