Update spec refactor: swap variable for let