Updates variable names to match variable IDs