After you submit payroll for the entire company or for selected employees, there is a period of time before the payroll is completed and marked as Paid.
During this time, you can revert payroll status and make changes.
Click Payroll along the left, and choose the pay period, which must have Submitted status.
Click Undo Payment and confirm. The pay period status reverts to Due.
Now you can make any necessary changes, and submit and run the payroll again.