update to variable