Why is a variable not updated?

Printable View