Update variable