Update variable example