fix output issue: no output if we are updating