Updates Variables to global scope