update var file