Updates Variables