Update store variable on clear