Update output function's variable names.