some how same variable isn't being updated

WHY???