fixed the employee update problem