Fixed success check for scenario 2

@kadst43 The line was being updated after the success check. This will run the success after the line has updated.