Updates the reference output.