The STP data that is sent to the ATO after each payroll is based on year to date payroll information.  If there is an adjustment in the payroll due to an error or back pay for example this will be reflected in the latest STP report and will over write the previous lodgement.