set variable changed