Optimize employee updating

Rearrange the updating of the employee table so it only happens once
(possibly twice) when updating information in the staff directory.