Debugging weird updateOutputs behavior