variables defined checking update