Update output [python]