add update function for employee