update var trigger