Update employee_name in Attendance on Employee employee_name updates


I am facing a small problem, thats when i update employee_name in Employee Doctype, then employee_name in linked attendance does not get updated.

one thing that i understand is to write a hook and update employee_name on linked Attendance on employee_name update.
Is there any other solution.