Updates the variable unit list and associated variables for consistency