update export code