Why doesn't it update?

I am not even sure that it is an efficient solution, because the infinite loop may increase current consumption.

I may be wrong. Anyone able to answer?