Updates global variables map