fixed employee update method