Fixes to edit API for employee