Added code for use case updatePayroll.